from api.ihrm_login_api import Ihrm_Login_API


def get_headers():
    login_json = {"mobile": "13800000002", "password": "123456"}
    resp=Ihrm_Login_API.login(login_json)
    req_header = {"Authorization": resp.json().get("data")}
    return req_header

if __name__ == '__main__':
    headers=get_headers()
    print(headers)